import java.sql.PreparedStatement;
import java.sql.SQLException;

public class Test {
    public static void main(String[] args) throws SQLException {
        String sql = "load data local infile 'F:/IdeaProjects/MyJava230203/JDBC_Demo/src/data.txt' into table article FIELDS TERMINATED BY ';' LINES TERMINATED BY '\r\n' (title, content)";
        PreparedStatement ps = JDBCUtil1.getStatement(sql);
        ps.executeUpdate();
    }
}
